package com.wuxianedu.wechat.ui.fragment;

import com.wuxianedu.wechat.R;
import com.wuxianedu.wechat.ui.PengYouQuanActivity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.RelativeLayout;

public class FindFragment extends Fragment {
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		View v = inflater.inflate(R.layout.fragment_find, null);
		
		RelativeLayout rela_pengyouquan = (RelativeLayout) v.findViewById(R.id.rela_pengyouquan);
		
		rela_pengyouquan.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(getActivity(),PengYouQuanActivity.class);
				startActivity(intent);
			}
		});
		
		return v;
	
	}
}
